/**
 * 系统常量文件
 */

//  流程中心，根据类型，加载不同
const processUrl = {
  // 工作周报
  WrWeeklyWorkReport: resolve => require(['@/pages/workWeeklyManage/workWeekly/draftEdit.vue'], resolve),
  // 生产数据
  CmsProductData: resolve => require(['@/pages/productiondataManage/productiondataManage/datapreview.vue'], resolve),
  // 通知
  NoticeAuditProcess: resolve => require(['@/pages/communicationManage/filequery/workflowDetail.vue'], resolve),
  // 函件
  LettersAuditProcess: resolve => require(['@/pages/communicationManage/filequery/workflowDetail.vue'], resolve),
  // 行业动态新闻
  CmsIndustryNews: resolve => require(['@/pages/industryDynamicsManage/industryDynamics/datapreview.vue'], resolve)
}

// 列表图片展示
const listImg = {
  Folder: require('../assets/Folder.png'),
  PPT: require('../assets/PPTbig.png'),
  ZIP: require('../assets/ZIPbig.png'),
  CODE: require('../assets/Codebig.png'),
  html: require('../assets/listhtml.png'),
  png: require('../assets/listPng.png'),
  docx: require('../assets/Word.png'),
  doc: require('../assets/Word.png'),
  xlsx: require('../assets/Excel.png'),
  txt: require('../assets/Text.png'),
  jpg: require('../assets/Misc.png'),
  xls: require('../assets/Excel.png')
}

// 方格布局图片
const menuImg = {
  PPt: require('../assets/PPTbig.png'),
  Code: require('../assets/Codebig.png'),
  ZIP: require('../assets/ZIPbig.png'),
  Folder: require('../assets/Folderbig.png'),
  html: require('../assets/menuHtml.png'),
  png: require('../assets/png.png'),
  docx: require('../assets/Wordbig.png'),
  doc: require('../assets/Wordbig.png'),
  xlsx: require('../assets/Excelbig.png'),
  xls: require('../assets/Excelbig.png'),
  txt: require('../assets/Textbig.png'),
  jpg: require('../assets/MiscMenu.png')
}

// 状态颜色显示
const statusColor = {
  completed: '#7ED321'
}

export { processUrl, listImg, menuImg, statusColor }
